/** * @author  作者 E-mail: * @date 创建时间：2016-12-12 下午1:27:30 * @version 1.0 * @parameter  * @since  * @return  */

package cn.broadin.app.hotel;

import cn.broadin.app.hotel.util.XToast;
import android.os.Bundle;
import android.widget.TextView;

/**
 * @author MR-Deng
 *
 */
public class ShowUiVersionActivity extends BaseActivity {
	private String versionCode = "";
	private String versionDate = "";
	private String versionArea = "";
	private TextView showVersionCodeView,showVersionDateView,showVersionAreaView;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ui_version);
		Bundle extras = getIntent().getExtras(); 
		versionCode = extras.getString("versionCode");
		versionDate = extras.getString("versionDate");
		versionArea = extras.getString("versionArea");
		showUiVersion();
	}
	
	
	
	/**
	 * 
	 */
	private void showUiVersion() {
		// TODO 自动生成的方法存根
		showVersionCodeView = (TextView) findViewById(R.id.version);
		showVersionDateView = (TextView) findViewById(R.id.date);
		showVersionAreaView = (TextView) findViewById(R.id.area);
		
		showVersionCodeView.setText("UI版本:     " + versionCode);
		showVersionDateView.setText("UI发布日期:     " + versionDate);
		showVersionAreaView.setText("UI使用区域:     " + versionArea);
	}



	protected void onDestroy() {
		super.onDestroy();
	};
	
	@Override
	protected void onResume() {
		super.onResume();
	};
}

